<template>
	<sc-collapse-cell @addTool="addTool" :list="tools"></sc-collapse-cell>
</template>
  
<script>
import scCollapseCell from '@/components/scCollapseCell/index.vue';
var listItem = [
		{
			name: '必应搜索',
			description: '从Bing搜索任何信息和网页URL。',
			meta: {
				creator: '扣子官方',
				date: '2024-11-07 20:31',
				stars: '9250',
				memory: '59',
				users: '526.3',
				time: '999',
				progress: '100'
			},
			params: ['2个工具', '526.3K个智能体正在使用']
		},
		{
			name: '链接读取',
			description: '当你需要获取网页、pdf内容时，使用此工具，可以获取url链接下的标题和内容。由于个别网站自身站点限制，无法获取网页内容。',
			meta: {
				creator: '扣子官方',
				date: '2025-03-19 14:51',
				stars: '12336',
				memory: '45.8',
				users: '379.5',
				time: '1262',
				progress: '85.2'
			},
			params: ['1个工具', '379.5K个智能体正在使用']
		},
		{
			name: '图片理解',
			description: '回答用户关于代表URL的图片的问题。',
			meta: {
				creator: '扣子官方',
				date: '2024-08-27 10:46',
				stars: '5970',
				memory: '3.3',
				users: '296.9',
				time: '6145',
				progress: '99.6'
			},
			params: ['1个工具', '296.9K个智能体正在使用']
		}
	]
var list = listItem.map(item => {
	item.list = listItem
	return item
})
export default {
components: {
	scCollapseCell
},
data() {
	return {
		tools: list
	};
},
methods: {
	addTool(tool) {
		console.log(tool)
	}
}
};
</script>
  
<style></style>